<?php

namespace maotool\orm\sql;

use maotool\orm\sql\base\SqlBuilderItem;
use maotool\orm\sql\insert\InsertInto;
use maotool\orm\sql\select\Form;

class Select extends SqlBuilderItem
{

    /**
     * @param SqlBuilder $sqlBuilder
     */
    public function __construct($sqlBuilder)
    {
        $this->sqlBuilder = $sqlBuilder;
    }

    public function form($table)
    {
        return new Form($this->sqlBuilder, $table);
    }

}